//
//  DetailViewController.h
//  PlayingWithMaps
//
//  Created by Jaime on 6/24/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import	"MapPlace.h"

@interface DetailViewController : UIViewController <UIPopoverControllerDelegate, UISplitViewControllerDelegate, MKMapViewDelegate> {
    
    UIPopoverController *popoverController;
    UIToolbar *toolbar;
    
    id detailItem;
	NSString *place;
	
	MapPlace *mapPlace;
    UILabel *detailDescriptionLabel;
	
	MKMapView *mapView;
	
}

- (MKCoordinateRegion) getRegion: (CLLocationCoordinate2D) location;


@property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
@property (nonatomic, retain) NSString *place;
@property (nonatomic, retain) id detailItem;
@property (nonatomic, retain) IBOutlet UILabel *detailDescriptionLabel;
@property (nonatomic, retain) MapPlace *mapPlace;

@end
